package com.expense.common.constant.enums;

import org.beetl.sql.core.annotatoin.EnumMapping;

/**
 * 标记处理状态的枚举类型.
 * <p/>
 * User: liuBin
 * Date: 2018-09-10
 * Time: 9:50 AM
 */
@EnumMapping("value")
public enum TodoStatus {
    //未处理
    UN_HANDLE(0),
    //已处理
    HANDLED(1),
    //已过期
    EXPIRED(2);

    private int value;

    TodoStatus(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}
